package com.liliudong.cursormate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liliudong.cursormate.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Liudong.li
 * @description 针对表【sys_user(系统用户表)】的数据库操作Mapper
 * @createDate 2023-10-24 22:29:24
 * @Entity com.liliudong.cursormate.entity.SysUser
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 按组织id选择计数
     *
     * @param orgId 组织id
     * @return int
     */
    int selectCountByOrgId(Long orgId);
}




